//
//  HoneHeadCell.m
//  Feel_at_home
//
//  Created by dllo on 15/9/28.
//  Copyright © 2015年 Feel_at_home. All rights reserved.
//

#import "HoneHeadCell.h"
#import <UIImageView+WebCache.h>
@implementation HoneHeadCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backimage = [[UIImageView alloc] init];
        [self.contentView addSubview:self.backimage];
      
    }
    return self;
}
- (void)homeData:(NSString *)backimage
{
    
    self.backimage.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    [self.backimage sd_setImageWithURL:[NSURL URLWithString:backimage] placeholderImage:[UIImage imageNamed:@"xinqing.png"]];
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
